package com.xnyzc.lhy.mis.entity.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
*
* 后台管理 Push消息表
*
* @author cuixiaojian
* @since 2019-11-09
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysMessagePush对象", description="后台管理 Push消息表")
public class OaSysMessagePush implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value="push_id", type = IdType.INPUT)
    private Long pushId;

    @ApiModelProperty(value = "push编号")
    private String pushNo;

    @ApiModelProperty(value = "push标题")
    private String pushTitle;

    @ApiModelProperty(value = "消息正文")
    private String pushBody;

    @ApiModelProperty(value = "链接")
    private String pushLink;

    @ApiModelProperty(value = "操作人ID")
    private Long createUser;

    @ApiModelProperty(value = "操作人名称")
    @TableField(exist = false)
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "消息是否删除(0 未删除 ，1 已删除)")
    private String deleted;

    @ApiModelProperty(value = "推展字段1")
    private String expand1;

    @ApiModelProperty(value = "推展字段2")
    private String expand2;

    @ApiModelProperty(value = "推展字段3")
    private String expand3;


    public static final String PUSH_ID = "push_id";

    public static final String PUSH_NO = "push_no";

    public static final String PUSH_TITLE = "push_title";

    public static final String PUSH_BODY = "push_body";

    public static final String PUSH_LINK = "push_link";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String DELETED = "deleted";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

}
